package com.jiukuaidao.zhulin.module;

import com.jiukuaidao.library.base.IBaseView;
import com.jiukuaidao.zhulin.data.TaskDataSource;

/**
 * Author : BinarySatan
 * Date : 2016/5/24
 * Description :
 */
public class BasePresenter<T, F extends TaskDataSource> {

    protected F mRepository;
    protected T mView;

    public BasePresenter(F repository, T view) {
        mRepository = repository;
        mView = view;
        ((IBaseView) mView).setPresenter(this);
    }
}
